docs: Specify the minimum version of GL provided by the core profile
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 12 Feb 2015 13:32:02 +0000 (13:32 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 12 Feb 2015 13:32:02 +0000 (13:32 +0000)
When using GDK_GL_PROFILE_3_2_CORE, we are not only specifying that the
GDK should create a core profile; we are also specifying that the
minimum required version of OpenGL is set to 3.2.

We should also specify that the GDK_GL_PROFILE_DEFAULT profile is an
alias for GDK_GL_PROFILE_3_2_CORE.

gdk/gdktypes.h

index 2a377d82303b6f897f0d8f328ccaf25f7758ec60..1eb45c217cd23970bd079588245ff0f1f76cd2ee 100644 (file)
@@ -436,7 +436,9 @@ struct _GdkPoint
 /**
  * GdkGLProfile:
  * @GDK_GL_PROFILE_DEFAULT: The default profile.
- * @GDK_GL_PROFILE_3_2_CORE: Use core 3.2 GL profiles
+ * @GDK_GL_PROFILE_3_2_CORE: Use the OpenGL core profile, with
+ *   a minimum required version of 3.2; this is the default
+ *   profile.
  *
  * The profile to be used when creating a #GdkGLContext.
  *